package com.lsl.gulimall.product.feign;

import com.lsl.common.to.SkuReductionTo;
import com.lsl.common.to.SpuBoundsTo;
import com.lsl.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    public R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);

    @PostMapping("/coupon/skufullreduction/saveSkuFullReduction")
    public R saveSkuFullReduction(@RequestBody SkuReductionTo skuReductionTo);
}
